package com.alks.function.data.dto.pcfactoryquery;

import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Setter
@Getter
@NoArgsConstructor
public class PartBfInDto {

    private String typeName;

    @ApiModelProperty(value = "出入库单号")
    private String slipNo;

    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @ApiModelProperty(value = "出入库时间")
    @DateTimeFormat(value = "yyyy-MM-dd")
    private LocalDateTime slipDate;

    @ApiModelProperty(value = "出入库原因")
    private String slipReason;

    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @ApiModelProperty(value = "送货时间")
    private LocalDateTime sysDate;

    @ApiModelProperty(value = "送货单号")
    private String sendNo;

    @ApiModelProperty(value = "部门名称")
    private String deptName;

    @ApiModelProperty(value = "厂商名称")
    private String vendorName;

    @ApiModelProperty(value = "材料编号")
    private String mtlNo;

    @ApiModelProperty(value = "材料颜色")
    private String mtlColor;

    @ApiModelProperty(value = "材料名称")
    private String mtlName;

    @ApiModelProperty(value = "材料规格")
    private String mtlSpec;

    @ApiModelProperty(value = "材料单位")
    private String mtlUnit;

    @ApiModelProperty(value = "数量")
    private BigDecimal qty;

    @ApiModelProperty(value = "单价")
    private BigDecimal price;

    @ApiModelProperty(value = "金额")
    private BigDecimal amt;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "仓管员")
    private String chiName;

    @ApiModelProperty(value = "材料类型")
    private String mtlType;
}

